package rest;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import java.util.HashSet;
import java.util.Set;

/**
 * Deployment of a JAX-RS application using @ApplicationPath
 */
@ApplicationPath("")
public class RestApplication extends Application {
    public Set<Class<?>> getClasses() {
        Set<Class<?>> s = new HashSet<Class<?>>();
        s.add(TopService.class);
        return s;
    }
}
